package com.celesea.auth.position.service;

import com.celesea.auth.position.entity.Position;
import com.celesea.auth.position.vo.PositionVo;
import com.celesea.framework.service.BaseService;

import java.util.List;

/**
 * @author JackYuan
 * @create 2017-10-30 18:35
 */
public interface PositionService extends BaseService<Position> {

    PositionVo insert(PositionVo positionVo);

    PositionVo update(PositionVo positionVo);

    PositionVo selectById(String id,String deptId);

    PositionVo selectConfig(String id,String deptId);

    PositionVo updateConfig(PositionVo positionVo);

    PositionVo buildByDept(String deptId);

    void updateFixCompany(String companyId, List<String> childIds);
}
